package object;

public class Object1 {
    public static void main(String[] args) {
        String s1 = new String("lee");
        String s2 = new String("lee");

        StringBuilder s3 = new StringBuilder("lee");
        StringBuilder s4 = new StringBuilder("lee");

        System.out.println(s1==s2);
        System.out.println(s1.equals(s2));
        System.out.println(s3==s4);
        System.out.println(s3.equals(s4));
    }
}
